<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>Market place</title>
</head>
<f:view>
	<body>
		<ui:composition>

			<p:galleria value="#{pictureModel.list}" showCaptions="true"
				transitionInterval="6000" var="picture" effect="slide"
				frameWidth="48" frameHeight="32" style="float:right"
				panelWidth="680" panelHeight="600">
			
					<p:graphicImage value="../#{picture.fullFileName}"  />
			

				<f:facet name="content">
					<h:panelGrid columns="1" width="640">

						<f:facet name="header">
							<p:graphicImage value="../#{picture.fullFileName}"  width="675" />
						</f:facet>

						<p:separator rendered="#{!picture.isTitleEmpty}"></p:separator>
						<h:outputText value="#{picture.titleLabel}"
							rendered="#{!picture.isTitleEmpty}"
							style="color:green;font-family:Georgia;font-size:1.0em;font-weight:bold"></h:outputText>
						<h:outputText value="#{picture.descriptionLabel}"
							style="color:green;font-family:Georgia;font-size:0.75em"></h:outputText>
					</h:panelGrid>
				</f:facet>

			</p:galleria>

		</ui:composition>
	</body>
</f:view>
</html>